﻿using Battle.Net.Model;

namespace Battle.Net.Managers
{
    public class ItemManager : IRequestManager
    {
        public BattleNetConnection Connection { get; set; }

        public Item GetItem(int id)
        {
            return Connection.Get<Item>(WebRequests.Item, id);
        }

        public ItemSet GetItemSet(int id)
        {
            return Connection.Get<ItemSet>(WebRequests.ItemSet, id);
        }
    }
}
